<!DOCTYPE html>
<html lang="zc-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script>
        let arr = [
        { '入职日期': 43678, '姓名': '高大山', '工号': 20089, '手机号': 13041131879, '转正日期': 43678 },
        { '入职日期': 43780, '姓名': '章三', '工号': 20090, '手机号': 13041131880, '转正日期': 43780 },
        { '入职日期': 43600, '姓名': '李四', '工号': 20091, '手机号': 13041131881, '转正日期': 43600 },
        { '入职日期': 43578, '姓名': '王武', '工号': 20092, '手机号': 13041131882, '转正日期': 43578 }
      ]
      let object = {
        '入职日期': 'timeOfEntry',
        '手机号': 'mobile',
        '姓名': 'username',
        '转正日期': 'correctionTime',
        '工号': 'workNumber'
      }
      let Array = Object.keys(object)
      let newArray = []
      // console.log(Array);
      for(let i=0;i<arr.length;i++) {
        let user = {}
        for(let j=0;j<Array.length;j++) {
          // console.log(arr[i][Array[j]]);
         user[object[Array[j]]] = arr[i][Array[j]]
        }
        newArray.push(user)
      }
      console.log( newArray);
    </script>
</body>
</html>